AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions
AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions
/
com.appdimens.dynamic.code.resize
/
percentOfBoxToFactor
percent
Of
Box
To
Factor
fun
percentOfBoxToFactor
(
percent
:
Number
)
:
Float
EN
Number
as percent 0–100 → multiplier 0..1 (same as Compose). PT Percentagem 0–100 → fator 0..1.